<template>
  <div>
    <router-view></router-view>
    <van-tabbar active-color="#ee0a24" fixed inactive-color="#000" route>
      <van-tabbar-item icon="wap-home-o" to="/index">首頁</van-tabbar-item>
      <van-tabbar-item icon="apps-o" to="/class">分類</van-tabbar-item>
      <van-tabbar-item icon="shopping-cart-o" to="/cart"
        >購物車
      </van-tabbar-item>
      <van-tabbar-item icon="user-o" to="/my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: "indexCom",
  components: {},
  data() {
    return {};
  },
  computed: {},
  methods: {},
  created() {},
};
</script>
<style lang="less"></style>
